package com.ctshk.rpc.finance.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 财务供应商对账单明细
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-04-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_finance_supplier_reconciliation_detail")
@ApiModel(value="FinanceSupplierReconciliationDetail对象", description="财务供应商对账单明细")
public class FinanceSupplierReconciliationDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属对账单")
    private Long reconciliationId;

    @ApiModelProperty(value = "预订类型")
    private Integer reservationType;

    @ApiModelProperty(value = "供应商预订单/推订单ID")
    private Long orderId;

    @ApiModelProperty(value = "订单类型1 预订	            2 退订")
    private Integer orderType;

    @ApiModelProperty(value = "单号")
    private String orderNumber;

    @ApiModelProperty(value = "业务类型")
    private Integer businessType;

    @ApiModelProperty(value = "付款类型")
    private Integer payType;

    @ApiModelProperty(value = "应付金额")
    private BigDecimal payableAmount;

    @ApiModelProperty(value = "期望付款时间")
    private LocalDateTime expectPayTime;

    @ApiModelProperty(value = "币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "币种名称")
    private String currencyName;

    @ApiModelProperty(value = "汇率")
    private Double exchangeRate;

    @ApiModelProperty(value = "产品ID")
    private Long productId;

    @ApiModelProperty(value = "产品编号/团号")
    private String productNumber;

    @ApiModelProperty(value = "资源信息")
    private String resourceInfo;

    @ApiModelProperty(value = "销售人员ID")
    private Long saleUserId;

    @ApiModelProperty(value = "销售人员名称")
    private String saleUserName;

    @ApiModelProperty(value = "预订单创建时间")
    private LocalDateTime orderCreateTime;

    @ApiModelProperty(value = "创建人展示属性")
    private String createUser;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
